const path = require("path");

module.exports = {
  entry: "./src/index.js",
  mode: 'production',
  output: {
    //物理打包路径
    path: path.resolve(__dirname, "dist"),
    filename: "main.js",
  },
  devServer: {
    port: 8888,
    //静态资源文件夹
    static: ['public'],
  },
};
